//
// Decompiled by Jadx - 331ms
//
package gc;

import de.robv.android.xposed.XC_MethodHook;
import de.robv.android.xposed.XC_MethodReplacement;
import fn.j;
import fn.y;

public final class bb extends XC_MethodHook {
    public final XC_MethodReplacement a;

    public bb(ba baVar) {
        this.a = baVar;
    }

    public final void beforeHookedMethod(XC_MethodHook.MethodHookParam methodHookParam) throws Throwable {
        super.beforeHookedMethod(methodHookParam);
        String name = y.by.getActivity().getClass().getName();
        if (name.endsWith("ConversationActivity") || name.endsWith("GroupChatActivity")) {
            j.az(methodHookParam.args[0].getClass(), "onSendVoice", this.a);
        }
    }
}
